package cn.orz.study.option.mapper;

import cn.orz.study.option.entity.MyUuidBigtabEntity;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.ResultHandler;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tangmingze
 * @since 2021-11-19
 */
public interface MyUuidBigtabMapper extends BaseMapper<MyUuidBigtabEntity> {
    /**
     *
     * @author tmz
     * @date 2021/11/19
     * @param eq
     * @param handler
     * @return void
     */
    void listAsStream(@Param(Constants.WRAPPER) LambdaQueryWrapper<MyUuidBigtabEntity> eq, ResultHandler<MyUuidBigtabEntity> handler);

    MyUuidBigtabEntity getSqlLimitOne(@Param("start")Long start);
}
